package edu.umb.cs.antmanager.common;

import java.rmi.Remote;
import java.rmi.RemoteException;

import edu.umb.cs.antmanager.domain.TestType;

public interface AgentInterface extends Remote {

	// agent's current status
	public MachineStatus getStatus() throws RemoteException;

	// let the agent to execute the test
	public boolean excuteTask(TestType test, String managerName)
			throws RemoteException;

	// for manager to remote control the agent
	public void shutDown() throws RemoteException;

	public void restart() throws RemoteException;
}
